﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Error.aspx.cs" Inherits="Error" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <title>Checkout with PayPal Demo</title>
        <!--Including Bootstrap style files-->
        <link href="css/bootstrap.min.css" rel="stylesheet" />
    </head>

    <body>
        <div class="container-fluid">
            <div class="well">
                <h2 class="text-center">PayPal Credit REST API Demo</h2>
            </div>
            <!----- header above ---->

            <div class="row">
                <div class="col-sm-3"></div>
                <div class="col-sm-6">

                    <div class="alert alert-danger" role="alert">                    
                        <p class="text-center"><strong>The payment could not be completed.</strong></p>
                    </div>

                    <br />
                    <strong>Reason: </strong> <%= name %> <br />
                    <br />
                    <strong>Message: </strong> <%= message %> <br />
                    
                    <br />
                    <br />
                    
                    Return to <a href="Index.aspx">home page</a>.
                </div>
                <div class="col-sm-3"></div>
            </div>

            <!----- footer below ---->
		</div>

		<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
		<script src="js/jquery-1.11.3.min.js"></script>

		<!-- Include all compiled plugins (below), or include individual files as needed -->
		<script src="js/bootstrap.min.js"></script>
	</body>
</html>
